import React from 'react';
import KanbanBoard from './KanbanBoard';

let cardsList = [
	{
		id : 1,
		title : "Read the Book",
		description: "I should read the **whole** book",
		color: '#BD8D31',
		status: "in-progress",
		tasks:[]
	},
	{
		id : 2,
		title : "Write some code",
		description: "Code along with the samples in the book. The complete source can be found at [github](https://github.com/pro-react)",
		color: '#3A7E28',
		status: "todo",
		tasks:[
			{
				id: 1,
				name: "ContactList Example",
				done: true
			},
			{
				id: 2,
				name: "Kanban Example",
				done: false
			},
			{
				id: 3,
				name: "My own experiments",
				done: false
			},
		]
	},
];

React.render(<KanbanBoard cards={cardsList} />,document.getElementById("root"));

class Hello extends Component {
	render() {
		var place = "World";
		return (
			<h1>Hello {place}</h1>
		);
	}
}
React.render(<Hello />, document.getElementById("root"));